import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
import Home from '../views/index'
import Vote from '../views/vote'
import Login from '../views/login'
import Download from '../views/download'
import Publicity from '../views/publicity'


export default new Router({
    routes:[
        {
            path: '/',
            component: Home
        },
        {
            path: '/vote',
            component: Vote
        },
        {
            path: '/login',
            component: Login
        },
        {
            path: '/download',
            component: Download
        },
        {
            path: '/publicity',
            component: Publicity
        }
    ]
});